package com.test.springboot.demo.service.impl;

import com.test.springboot.demo.dao.TypeDAO;
import com.test.springboot.demo.pojo.AccountType;
import com.test.springboot.demo.service.TypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TypeServiceImpl implements TypeService {

    @Autowired
    private TypeDAO typeDAO;

    @Override
    public List<AccountType> getTypeList() {
        return typeDAO.getTypeList();
    }
}
